<div style="padding:10px;font-size:10pt;" class="color">
{messages}
{$sValidatorMess}
<div style="text-align:right; padding-bottom:5px;">
	<a class="link_action" href="{url link='account.myitems.editmusic.album-song' id=$aAlbum.album_id}">[ {language text="go_to_upload_area"} ]</a>
</div>
<form id="AlbumDetail_form" style="padding: 0px;" action="{url link='account.myitems.editmusic.editalbum' id=$aAlbum.album_id}" method="post" enctype="multipart/form-data" onsubmit="{$sValidatorJs}">
<table cellspacing="2" cellpadding="4" width="100%">
    <tr>
        <td style="text-align:right;font-size:10pt;" class="color">
             <span class="star">*</span> {language text="musician"}:
        </td>
        <td style="font-size:8pt; vertical-align: top" class="border13">
            <input name="val[musician_name]" value="{$aAlbum.musician_name}" size="50">
        </td>
    </tr>
    <tr>
        <td style="text-align:right;font-size:10pt;" class="color"">
            <span class="star">*</span> {language text="album_title"}:<br />
         </td>
         <td style="font-size:8pt; vertical-align: top" class="border13">
            <input name="val[album_title]" value="{$aAlbum.album_title}" size="50">
        </td>
    </tr>
    <tr>
        <td style="text-align:right;font-size:10pt;" class="color">
            {language text="genre"}:
        </td>
        <td style="font-size:8pt; vertical-align: top" class="border13">
            <select name="val[genre_sel]">
            {html_options options=$aGenres selected=$aAlbum.genre_id}
            </select>
        </td>
    </tr>
    <tr>
        <td style="text-align:right;font-size:10pt;" class="color">
            {language text="year"}:
        </td>
        <td style="font-size:8pt; vertical-align: top" class="border13">
            <input name="val[album_year]" value="{if $aAlbum.album_year == '0000'}- - - -{else}{$aAlbum.album_year}{/if}" type="text">
        </td>
    </tr>
    <tr>
        <td style="text-align:right; font-size:10pt; vertical-align:top;" class="color">
            {language text="image"}:
        </td>
        <td style="font-size:8pt; vertical-align: top" class="border13">
            <input type="file" name="album_image" size="30" />
            {if $bAlbumPic == 1}
            <div style="padding:8px;">
			{img max_width="120" max_height="120" src="`$sAlbumImageUrl``$aAlbum.album_id`.jpg" src_def="design/pic/noimage_75.jpg" class="pic1" onmouseover="showInfo5('`$aAlbum.album_title`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();"}
            <br />
            <a class="link_action" href="{url link='account.myitems.editmusic.editalbum' action=delete_pic id=$aAlbum.album_id}">[ {language text="delete_this_image"} ]</a>
            </div>
            {/if}
        </td>
    </tr>
    <tr>
        <td style="text-align:right;font-size:10pt;" class="color">
            {language text="album_description"}:
        </td>
        <td style="font-size:8pt; vertical-align: top" class="border13">
            <textarea name="val[album_description]" cols="40" rows="10">{$aAlbum.album_description}</textarea>
        </td>
    </tr>
	<tr>
	<td></td>
	    <td style="font-size:10pt;" class="color"><span class="star">*</span> - {language text="mandatory_fields"}</td>
	</tr>
    <tr>
        <td></td>
        <td style="padding-top:10px;">
            <input name="edit" value="{language text='save_changes'}" type="submit" class="mainmenu6" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';">
        </td>
    </tr>
</table>
</form>
<div>
</div>
</div>